package com.imddy.gkrpc.codec;

import com.alibaba.fastjson.JSON;

public class JSONEncoder implements Encoder {

	@Override
	public byte[] encoder(Object object) {
		return JSON.toJSONBytes(object);
	}

}
